package com.tingyun.sign.core.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * The persistent class for the SS_REG_LOG database table.
 * 
 */
@Entity
@Table(name = "SS_REG_LOG")
@NamedQuery(name = "RegLog.findAll", query = "SELECT r FROM RegLog r")
public class RegLog implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name = "SS_REG_LOG_ID_GENERATOR", sequenceName = "SEQ_SS_REG_LOG", allocationSize = 1, initialValue = 1)
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SS_REG_LOG_ID_GENERATOR")
	private int id;

	private String code;

	@Temporal(TemporalType.TIMESTAMP)
	private Date codetime;

	private String email;

	@Temporal(TemporalType.TIMESTAMP)
	private Date emailtime;

	private String ip;

	private String phone;

	@Temporal(TemporalType.TIMESTAMP)
	private Date phonecodetime;

	private int phonecount;

	@Temporal(TemporalType.TIMESTAMP)
	private Date phonetime;

	private String referer;

	private int status=0;

	@Temporal(TemporalType.TIMESTAMP)
	private Date submittime;

	private String userfrom;
	private int client;

	@Temporal(TemporalType.TIMESTAMP)
	private Date randomtime;
	
	private int randomResult;
	
	private Date passwordTime;
	
	private Date rePasswordTime;
	
	private Date traceTime;
	
	private Date positionTime;
	
	private int phoneResult;
	@Temporal(TemporalType.TIMESTAMP)
	private Date ctime;
	public RegLog() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Date getCodetime() {
		return this.codetime;
	}

	public void setCodetime(Date codetime) {
		this.codetime = codetime;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getEmailtime() {
		return this.emailtime;
	}

	public void setEmailtime(Date emailtime) {
		this.emailtime = emailtime;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getPhonecodetime() {
		return this.phonecodetime;
	}

	public void setPhonecodetime(Date phonecodetime) {
		this.phonecodetime = phonecodetime;
	}

	public int getPhonecount() {
		return this.phonecount;
	}

	public void setPhonecount(int phonecount) {
		this.phonecount = phonecount;
	}

	public Date getPhonetime() {
		return this.phonetime;
	}

	public void setPhonetime(Date phonetime) {
		this.phonetime = phonetime;
	}

	public String getReferer() {
		return this.referer;
	}

	public void setReferer(String referer) {
		this.referer = referer;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getSubmittime() {
		return this.submittime;
	}

	public void setSubmittime(Date submittime) {
		this.submittime = submittime;
	}

	public String getUserfrom() {
		return this.userfrom;
	}

	public void setUserfrom(String userfrom) {
		this.userfrom = userfrom;
	}

	public int getClient() {
		return client;
	}

	public void setClient(int client) {
		this.client = client;
	}

	public Date getRandomtime() {
		return randomtime;
	}

	public void setRandomtime(Date randomtime) {
		this.randomtime = randomtime;
	}

	public int getRandomResult() {
		return randomResult;
	}

	public void setRandomResult(int randomResult) {
		this.randomResult = randomResult;
	}

	public Date getPasswordTime() {
		return passwordTime;
	}

	public void setPasswordTime(Date passwordTime) {
		this.passwordTime = passwordTime;
	}

	public Date getRePasswordTime() {
		return rePasswordTime;
	}

	public void setRePasswordTime(Date rePasswordTime) {
		this.rePasswordTime = rePasswordTime;
	}

	public Date getTraceTime() {
		return traceTime;
	}

	public void setTraceTime(Date traceTime) {
		this.traceTime = traceTime;
	}

	public Date getPositionTime() {
		return positionTime;
	}

	public void setPositionTime(Date positionTime) {
		this.positionTime = positionTime;
	}

	public int getPhoneResult() {
		return phoneResult;
	}

	public void setPhoneResult(int phoneResult) {
		this.phoneResult = phoneResult;
	}

	public Date getCtime() {
		return ctime;
	}

	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}
	
}